<template>
  <el-radio-group v-model="val" @change="handleChange">
    <el-radio
      v-for="item in option"
      :key="item[props.value]"
      :label="item[props.value]"
    >
      {{ item[props.label] }}
    </el-radio>
  </el-radio-group>
</template>

<script>
import { props, mixin } from '@/components/control/basis'

export default {
  name: 'RadioCom',
  props: { ...props },
  mixins: [mixin],
  watch: {},
  computed: {},
  data() {
    return {
      val: '',
    }
  },
  methods: {},
}
</script>

<style scoped lang="scss"></style>
